/*
** my_strlcat.c for galaf in /home/compilation/galaf-lib
** 
** Made by christophe labonnemartinez
** Login   <labonn_c@epitech.net>
** 
** Started on  Fri Mar 23 07:39:01 2012 christophe labonnemartinez
** Last update Sat Aug 11 12:40:27 2012 christophe labonnemartinez
*/

#include "includes/my.h"

int	my_strlcat(char *dest, char *from, int len)
{
  int	c;

  while (*dest)
    ++dest;
  c = 0;
  while (from[c] && c < (len - 1))
    {
      dest[c] = from[c];
      ++c;
    }
  dest[c] = '\0';
  return (c);
}
